package com.project.mapper;

import com.project.bean.ShoppingCarBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IOrderInfoMapper {
    /**
     * 添加订单明细
     * @param orderId 订单ID
     * @param shopList 购物车集合
     */
    public void addInfo(@Param("orderId") int orderId,
                        @Param("shopList") List<ShoppingCarBean> shopList);
}
